.component-shop-edit-category {
  &:deep(.el-dialog__header) {
    padding: 0 !important;
  }
  &:deep(.el-dialog__body) {
    padding-top: 0;
    padding-bottom: 0;
  }
  &:deep(.el-dialog) {
    min-width: 950px;
  }
  .popup {
    display: block;

    .red-tag-txt {
      color: #ff4949;
    }

    .search-bar {
      margin-top: 20px;
    }

    // 表格上的标题
    .title {
      display: flex;
      align-items: center;
      width: 100%;
      height: 64px;
      border-bottom: 1px solid #EAEAEA;
      .text {
        height: 23px;
        line-height: 21px;
        font-size: 16px;
        .stress {
          color: #FF2120;
          padding-right: 5px;
        }
      }
      .tips {
        height: 16px;
        line-height: 16px;
        font-size: 12px;
        color: #999;
        margin-left: 10px;
        .bold {
          color: #000;
        }
      }
      .close-btn {
        font-size: 23px;
        color: #DEDEDE;
        margin-left: auto;
        cursor: pointer;
      }
    }

    // 内容
    .content {
      margin-top: 0;
      .rotating-img {
        display: inline-block;
        width: 60px;
        height: 60px;
      }
      .rotating-img:not(:last-child) {
        margin-right: 5px;
      }
      .left-box {
        width: 20%;
        height: 574px;
        background: #FFFFFF;
        border: 1px solid #E9EAEC;
        box-sizing: border-box;
        overflow-y: scroll;
        &:deep .filter-tree {
          padding-right: 10px;
          .el-tree-node__expand-icon {
            position: absolute;
            right: 2%;
          }
          .el-checkbox {
            margin-left: 12px;
          }
          .el-tree-node__expand-icon.expanded {
            transform: rotate(-90deg);
          }
          .custom-tree-node {
            display: inline-block;
            max-width: 185px;
            overflow: hidden;
            text-overflow:ellipsis;
            white-space: nowrap;
          }
        }
        /* 谷歌隐藏滚动条 */
        &::-webkit-scrollbar {
          display: none;
        }
        /* 隐藏滚动条，当IE下溢出，仍然可以滚动 */
        /* IE隐藏滚动条 */
        -ms-overflow-style: none;
      }
      .right-box {
        position: relative;
        width: 100%;
        &:deep(.el-input) {
          width: 50%;
        }

        // 上传图片样式
        .business-qual {
          &:deep(.el-upload-list--picture-card .el-upload-list__item) {
            width: 80px;
            height: 80px;
            line-height: 80px;
            margin-bottom: 0;
          }
          &:deep(.el-upload--picture-card) {
            width: 80px;
            height: 80px;
            line-height: 90px;
            background: #fff;
          }
        }

        // 自定义类目扣率
        .custom-rate {
          &:deep(.el-input__inner) {
            padding: 0 0 0 5px;
          }
        }
      }
      .table-box {
        border-top: 1px solid #E9EAEC;
        border-left: 1px solid #E9EAEC;
        border-right: 1px solid #E9EAEC;
        box-sizing: border-box;
        padding-bottom: 0;
        &:deep(.el-table__body-wrapper) {
          height: 475px;
          overflow-y: scroll;
          scrollbar-width: none; /* Firefox */
          -ms-overflow-style: none; /* IE 10+ */
        }
        &:deep(.el-table__body-wrapper::-webkit-scrollbar) {
          display: none; /* Chrome Safari */
        }
        &:deep(.el-table__body) {
          width: 100%;
        }
      }
    }
    //侧边栏
    .custom-tree-node {
      font-size: 14px;
    }
  }
  .pagination {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding-bottom: 20px;
  }
}
